<!DOCTYPE html>
<head>
<style>
div:before {
    content: url(../../../accessibility/resources/cake.png);
}
</style>
</head>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="resources/move-by-word-visually.js"></script>
<script>
onload = runTest;
if (window.testRunner && window.internals)
    internals.settings.setEditingBehavior('win');
</script>
<div contenteditable dir=ltr>
<div title="test_for_crash" class="test_move_by_word" dir=ltr>in div 1</div>
<div title="test_for_crash" class="test_move_by_word" dir=ltr><img src=../../../accessibility/resources/cake.png></div>
<h1>text area</h1>
</div>
